package com.matrix.kernel.core.model.module;

import java.util.Date;

import com.matrix.kernel.core.model.common.Inode;

/**
 * 模块结构
 * @author wubo
 *
 */
public class Module extends Inode{
	
	/**id*/
	private Long id;
	
	/**模块名*/
	private String name;
	
	/**发布者*/
	private String publisher;
	
	/**类型*/
	private Integer type;
	
	/**版本*/
	private String version;
	
	/**大小*/
	private float size;
	
	/**创建时间*/
	private Date createDate;
	
	/**修改时间*/
	private Date modifyDate;
	
	/**位置*/
	private String location;
	
	/**是否被锁*/
	private boolean isLock;

	public Module() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public float getSize() {
		return size;
	}

	public void setSize(float size) {
		this.size = size;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public boolean isLock() {
		return isLock;
	}

	public void setLock(boolean isLock) {
		this.isLock = isLock;
	}
}
